package net.uhuijia.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import net.uhuijia.model.test.Test;
import net.uhuijia.service.goods.TestClientService;



@RestController
public class GoodsController_Consumer
{

	@Autowired
	private TestClientService testService;

	@RequestMapping(value = "/consumer/test/get/{id}")
	public Test get(@PathVariable("id") String id)
	{
		return testService.get(id);
	}

}
